[INFO] cloning repository https://github.com/bobrik/rust-hyper-error-chain-weirness
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bobrik/rust-hyper-error-chain-weirness" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobrik%2Frust-hyper-error-chain-weirness", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobrik%2Frust-hyper-error-chain-weirness'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ddc22f683e4a6689c6c459889b9835d427d053d5
[INFO] checking bobrik/rust-hyper-error-chain-weirness against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobrik%2Frust-hyper-error-chain-weirness" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bobrik/rust-hyper-error-chain-weirness on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bobrik/rust-hyper-error-chain-weirness
[INFO] finished tweaking git repo https://github.com/bobrik/rust-hyper-error-chain-weirness
[INFO] tweaked toml for git repo https://github.com/bobrik/rust-hyper-error-chain-weirness written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/bobrik/rust-hyper-error-chain-weirness already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-reactor v0.1.8
[INFO] [stderr]   Downloaded tokio-threadpool v0.1.10
[INFO] [stderr]   Downloaded hyper-tls v0.3.1
[INFO] [stderr]   Downloaded security-framework v0.2.1
[INFO] [stderr]   Downloaded tempfile v3.0.5
[INFO] [stderr]   Downloaded tokio-executor v0.1.6
[INFO] [stderr]   Downloaded http v0.1.14
[INFO] [stderr]   Downloaded openssl-sys v0.9.40
[INFO] [stderr]   Downloaded h2 v0.1.15
[INFO] [stderr]   Downloaded schannel v0.1.14
[INFO] [stderr]   Downloaded hyper v0.12.21
[INFO] [stderr]   Downloaded tokio-fs v0.1.5
[INFO] [stderr]   Downloaded openssl v0.10.16
[INFO] [stderr]   Downloaded crossbeam-channel v0.3.6
[INFO] [stderr]   Downloaded MacTypes-sys v1.3.0
[INFO] [stderr]   Downloaded security-framework-sys v0.2.2
[INFO] [stderr]   Downloaded libc v0.2.47
[INFO] [stderr]   Downloaded tokio-current-thread v0.1.4
[INFO] [stderr]   Downloaded crossbeam-utils v0.6.3
[INFO] [stderr]   Downloaded bytes v0.4.11
[INFO] [stderr]   Downloaded crossbeam-epoch v0.7.0
[INFO] [stderr]   Downloaded tokio-timer v0.2.8
[INFO] [stderr]   Downloaded tokio-io v0.1.11
[INFO] [stderr]   Downloaded tokio v0.1.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18ac4a3a90b3eb477a28f6488e9a4f7196af3fb8386e0bf078cdccbebf6ecc82
[INFO] running `Command { std: "docker" "start" "-a" "18ac4a3a90b3eb477a28f6488e9a4f7196af3fb8386e0bf078cdccbebf6ecc82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18ac4a3a90b3eb477a28f6488e9a4f7196af3fb8386e0bf078cdccbebf6ecc82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18ac4a3a90b3eb477a28f6488e9a4f7196af3fb8386e0bf078cdccbebf6ecc82", kill_on_drop: false }`
[INFO] [stdout] 18ac4a3a90b3eb477a28f6488e9a4f7196af3fb8386e0bf078cdccbebf6ecc82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb0d69a73c1b6760fd151e71aa3b4ed0ffe8cef355e2f9d2b5cff0286411d45f
[INFO] running `Command { std: "docker" "start" "-a" "eb0d69a73c1b6760fd151e71aa3b4ed0ffe8cef355e2f9d2b5cff0286411d45f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.47
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]     Checking futures v0.1.25
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling cc v1.0.28
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking byteorder v1.2.7
[INFO] [stderr]     Checking lazycell v1.2.1
[INFO] [stderr]    Compiling rand v0.6.4
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling openssl v0.10.16
[INFO] [stderr]    Compiling httparse v1.3.3
[INFO] [stderr]     Checking crossbeam-utils v0.6.3
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_chacha v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking smallvec v0.6.7
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]    Compiling backtrace v0.3.13
[INFO] [stderr]     Checking indexmap v1.0.2
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]    Compiling native-tls v0.2.2
[INFO] [stderr]     Checking crossbeam-epoch v0.7.0
[INFO] [stderr]     Checking try-lock v0.2.2
[INFO] [stderr]     Checking string v0.1.3
[INFO] [stderr]     Checking rustc-demangle v0.1.13
[INFO] [stderr]     Checking crossbeam-deque v0.6.3
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking rand_os v0.1.1
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]    Compiling openssl-sys v0.9.40
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]     Checking bytes v0.4.11
[INFO] [stderr]     Checking mio v0.6.16
[INFO] [stderr]     Checking http v0.1.14
[INFO] [stderr]     Checking tokio-executor v0.1.6
[INFO] [stderr]     Checking tokio-io v0.1.11
[INFO] [stderr]     Checking want v0.0.6
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking tokio-current-thread v0.1.4
[INFO] [stderr]     Checking tokio-timer v0.2.8
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking tokio-reactor v0.1.8
[INFO] [stderr]     Checking crossbeam-channel v0.3.6
[INFO] [stderr]     Checking error-chain v0.12.0
[INFO] [stderr]     Checking tokio-uds v0.2.5
[INFO] [stderr]     Checking tokio-udp v0.1.3
[INFO] [stderr]     Checking tokio-tcp v0.1.3
[INFO] [stderr]     Checking tokio-threadpool v0.1.10
[INFO] [stderr]     Checking h2 v0.1.15
[INFO] [stderr]     Checking tokio-fs v0.1.5
[INFO] [stderr]     Checking tokio v0.1.14
[INFO] [stderr]     Checking hyper v0.12.21
[INFO] [stderr]     Checking hyper-tls v0.3.1
[INFO] [stderr]     Checking rust-hyper-error-chain-weirness v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0271]: type mismatch resolving `<Concat2<Body> as futures::IntoFuture>::Error == error::Error`
[INFO] [stdout]    --> src/main.rs:83:10
[INFO] [stdout]     |
[INFO] [stdout] 83  |         .and_then(|http_response| http_response.into_body().concat2())
[INFO] [stdout]     |          ^^^^^^^^ expected struct `error::Error`, found struct `hyper::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `hyper::Error` and struct `error::Error` have similar names, but are actually distinct types
[INFO] [stdout] note: struct `hyper::Error` is defined in crate `hyper`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.21/src/error.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout] 15  | pub struct Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: struct `error::Error` is defined in the current crate
[INFO] [stdout]    --> src/error.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout] 9   | error_chain! {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `futures::Future::and_then`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/mod.rs:527:29
[INFO] [stdout]     |
[INFO] [stdout] 527 |               B: IntoFuture<Error = Self::Error>,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then`
[INFO] [stdout]     = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<Concat2<Body> as futures::IntoFuture>::Error == error::Error`
[INFO] [stdout]    --> src/main.rs:83:10
[INFO] [stdout]     |
[INFO] [stdout] 83  |         .and_then(|http_response| http_response.into_body().concat2())
[INFO] [stdout]     |          ^^^^^^^^ expected struct `error::Error`, found struct `hyper::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: struct `hyper::Error` and struct `error::Error` have similar names, but are actually distinct types
[INFO] [stdout] note: struct `hyper::Error` is defined in crate `hyper`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.21/src/error.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout] 15  | pub struct Error {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^
[INFO] [stdout] note: struct `error::Error` is defined in the current crate
[INFO] [stdout]    --> src/error.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout] 9   | error_chain! {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `futures::Future::and_then`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/mod.rs:527:29
[INFO] [stdout]     |
[INFO] [stdout] 527 |               B: IntoFuture<Error = Self::Error>,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then`
[INFO] [stdout]     = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `then` exists for struct `AndThen<Then<ResponseFuture, Done<Response<Body>, Error>, [closure@main.rs:82:15]>, Concat2<Body>, [closure@main.rs:83:19]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |         .then(|_| future::result::<(), ()>(Ok(())));
[INFO] [stdout]    |          ^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    | ---------------------------
[INFO] [stdout]    | |
[INFO] [stdout]    | doesn't satisfy `_: Future`
[INFO] [stdout]    | doesn't satisfy `_: Stream`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/stream/concat.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Concat2<S>
[INFO] [stdout]    | --------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<Concat2<Body> as futures::IntoFuture>::Error = error::Error`
[INFO] [stdout]            which is required by `futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: Stream`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: Stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `then` exists for struct `AndThen<Then<ResponseFuture, Done<Response<Body>, Error>, [closure@main.rs:82:15]>, Concat2<Body>, [closure@main.rs:83:19]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |         .then(|_| future::result::<(), ()>(Ok(())));
[INFO] [stdout]    |          ^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    | ---------------------------
[INFO] [stdout]    | |
[INFO] [stdout]    | doesn't satisfy `_: Future`
[INFO] [stdout]    | doesn't satisfy `_: Stream`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.25/src/stream/concat.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Concat2<S>
[INFO] [stdout]    | --------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<Concat2<Body> as futures::IntoFuture>::Error = error::Error`
[INFO] [stdout]            which is required by `futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: Stream`
[INFO] [stdout]            which is required by `&mut futures::AndThen<futures::Then<hyper::client::ResponseFuture, Failed<Response<Body>, error::Error>, [closure@src/main.rs:82:15: 82:18]>, Concat2<Body>, [closure@src/main.rs:83:19: 83:34]>: Stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-hyper-error-chain-weirness` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-hyper-error-chain-weirness` due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "eb0d69a73c1b6760fd151e71aa3b4ed0ffe8cef355e2f9d2b5cff0286411d45f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb0d69a73c1b6760fd151e71aa3b4ed0ffe8cef355e2f9d2b5cff0286411d45f", kill_on_drop: false }`
[INFO] [stdout] eb0d69a73c1b6760fd151e71aa3b4ed0ffe8cef355e2f9d2b5cff0286411d45f
